import {observable,action,computed} from 'mobx'
import { ajax } from '../api';

class Score{
    @observable scoreList:any=null;

    @action getScoreList=async()=>{
        let res=await ajax.scorelist()
        res.code=200&&(this.scoreList=res.result)
    }
}

export default new Score() 